package com.ruoyi.system.domain.project.patent;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 专利教师对象 patent_teacher
 * 
 * @author ruoyi
 * @date 2025-08-31
 */
public class PatentTeacher extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    private Long id;

    /** 专利id */
    @Excel(name = "专利id")
    private Long patentId;

    /** 专利教师id */
    @Excel(name = "专利教师id")
    private String userId;

    /** 专利教师姓名 */
    @Excel(name = "专利教师姓名")
    private String userName;

    /** 排名 */
    @Excel(name = "排名")
    private Long rank;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setPatentId(Long patentId) 
    {
        this.patentId = patentId;
    }

    public Long getPatentId() 
    {
        return patentId;
    }

    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }

    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }

    public void setRank(Long rank) 
    {
        this.rank = rank;
    }

    public Long getRank() 
    {
        return rank;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("patentId", getPatentId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("rank", getRank())
            .toString();
    }
}
